package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.DefectLossReq;
import com.ruibang.glass.quality.domain.req.EveryHourDefectLossReq;
import com.ruibang.glass.quality.entity.EveryHourDefectLoss;
import com.teaming.cloud.framework2.common.model.ResultBody;

import java.util.List;


public interface EveryHourDefectLossService extends IService<EveryHourDefectLoss> {


    ResultBody queryEveryHourDefectLoss(EveryHourDefectLossReq everyHourDefectLossReq);

    ResultBody queryStoneLoss(DefectLossReq defectLossReq);

    ResultBody queryBubbleLoss(DefectLossReq defectLossReq);

    ResultBody queryPlatinumLoss(DefectLossReq defectLossReq);

    ResultBody queryTotalLoss(DefectLossReq defectLossReq);

    void deleteHourData(DefectLossReq defectLossReq);

    List<String> getHourKey();

    List<EveryHourDefectLoss> getByTime(List<String> time);
}
